package br.com.atomware.sgtp.domain;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.springframework.roo.addon.entity.RooEntity;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@RooJavaBean
@RooToString
@RooEntity
public class Empresa {

    @NotNull
    @Size(max = 50)
    private String nome;

    @NotNull
    @Size(min = 18, max = 18)
    private String cnpj;

    @NotNull
    @Size(max = 15)
    private String inscricaoEstadual;
}
